﻿<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<link rel="Bookmark" href="imgs/favicon.ico"/>
	<link rel="Shortcut Icon" href="imgs/favicon.ico"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css"/>
	<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css"/>
	<title>商城</title>
</head>
<body>
	<article class="cl pd-20">
		<div class="cl pd-5 bg-1 bk-gray">
			<span class="l">
				<!--<a href="javascript:;" onclick="goods_add('添加分类','goods-add.html','',0)"-->
				   <!--class="btn btn-primary radius">-->
					<!--<i class="Hui-iconfont">&#xe600;</i>-->
					<!--添加商品-->
				<!--</a>-->
				<!--<a href="javascript:;" onclick="daochu();" class="btn btn-primary radius">-->
					<!--点击导出-->
				<!--</a>-->
				<!--<span id="down"></span>-->
				<a href="javascript:;" class="btn btn-primary radius" onclick="outExcel();">点击导出</a>
			</span>
			<span class="r">共有数据：<strong id="pageTotal">0</strong> 条</span>
		</div>
		<div class="mt-10">
			<table class="table table-border table-bordered table-hover table-bg">
				<thead>
				<tr>
					<th scope="col" colspan="10">商品列表</th>
				</tr>
				<tr class="text-c">
					<!--<th>ID</th>-->
					<th>SKU名称</th>
					<th>价格</th>
					<th>库存</th>
					<!--<th>操作</th>-->
				</tr>
				</thead>
				<tbody>
				<tr class="text-c">
					<!--<td>-</td>-->
					<td>-</td>
					<td>-</td>
					<td>-</td>
					<!--<td>-</td>-->
				</tr>
				</tbody>
			</table>
			<div id="pageHtml"></div>
		</div>
	</article>

<!--自定义弹窗-->
<span id="msgPop"></span>
</body>
</html>


<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.page.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/view.js"></script>
<script type="text/javascript" src="js/goods.js"></script>
<script type="text/javascript">
	var pages = {
		start: 1, limit: pageSize, total: 0,
		url: '/admin/goods-sku-list.html',
		excel: 'goods'
	};
	pages.start = getParamByUrl('start');
	pages.start = pages.start ? pages.start : 1;
	var gid = getParamByUrl('id');
	(function () {
		skuList(gid)
	})();
</script>